import { IsInt, IsString } from 'class-validator';

export class UserAccountRegisterDto {
  @IsString()
  nickName: string;
  @IsString()
  phone: string;
  @IsString()
  wechatCode: string;
  @IsString()
  appleCode: string;
}

export class UserAccountDto {
  @IsString()
  userId: string;
}


export class UserUpdateDto {
  @IsString()
  nickName: string;
  @IsString()
  avatar: string;
}

